<template lang="pug">
  .noData
    span.loading-wrapper
      span.loading
    | {{title}}
</template>
<script>
export default {
  name: 'Loading',
  props: {
    title: {
      type: String,
      default: '加载中...'
    }
  }
}
</script>
<style lang="sass">
.noData
  position: absolute
  top: 50%
  left: 50%
  transform: translate(-50%, -50%)
  text-align: center
  font-size: 18px
</style>
